package com.intelligent.feign;

import com.intelligent.entity.Department;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("intelligent-set")
public interface DeptApi {
    @GetMapping("/feign/dept/byId")
    Department getById(@RequestParam("id") Integer id);
}
